Skip to content

Support multi-platform Docker image build for training sandbox#240

Merged
rayrayraykk merged 3 commits intoagentscope-ai:devfrom
rayrayraykk:dev/weirui/dev/version/1128
Nov 28, 2025
Merged

Support multi-platform Docker image build for training sandbox#240
rayrayraykk merged 3 commits intoagentscope-ai:devfrom
rayrayraykk:dev/weirui/dev/version/1128

Conversation

@rayrayraykk
Copy link
Copy Markdown
Member

@rayrayraykk rayrayraykk commented Nov 28, 2025

Problem Description:
Currently, the documentation for pulling runtime-sandbox-appworld requires users to manually pull and tag separate images for different architectures (ARM64 and X86_64).
Example in current doc:

# ARM64
docker pull agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest-arm64 && docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest-arm64 agentscope/runtime-sandbox-appworld:latest-arm64

# X86_64
docker pull agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest && docker tag agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest agentscope/runtime-sandbox-appworld:latest

This approach adds unnecessary complexity for end users and forces them to know their architecture in advance.

Proposed Solution:
Update the image build process to support multi-platform images using Docker Buildx so that a single image tag (latest) contains both ARM64 and X86_64 variants.
This allows users to simply run:

docker pull agentscope-registry.ap-southeast-1.cr.aliyuncs.com/agentscope/runtime-sandbox-appworld:latest

and Docker will automatically fetch the correct architecture image based on their system.

Related issues

fixes #207

@rayrayraykk rayrayraykk merged commit 6e204ff into agentscope-ai:dev Nov 28, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants